package com.lyhw.model.beanwraper;

import com.lyhw.model.Article;
import com.lyhw.model.BeautyPic;
import com.lyhw.model.Commodity;
import com.lyhw.model.TBItem;
import com.lyhw.model.Type;

/**
 * Created by WEBUSER on 2014/12/19.
 */
public class WraperFactory {
    /**
     * 接收文章列表
     */
    public static class ArticleListWraper extends JsonPageWraper<Article> {}

    /**
     * 接收商品列表
     */
    /*
    public static class GoodsListWraper {
        List<Commodity> message;
        String result;

        public List<Commodity> getMessage() {
            return message;
        }

        public void setMessage(List<Commodity> message) {
            this.message = message;
        }

        public String getResult() {
            return result;
        }

        public void setResult(String result) {
            this.result = result;
        }
    }
    */
    public static class GoodsListWraper extends JsonPageWraper<Commodity> {}
    public static class BPicListWraper extends JsonPageWraper<BeautyPic> {};
    public static class TypeWraper extends JsonListWraper<Type> {};
    public static class ArticleWraper extends JsonListWraper<Article> {};
    public static class  TBItemWraper extends JsonListWraper<TBItem> {};
}
